@echo off
rem plugin /U T
rem pexports %@PATH[%COMSPEC]TakeCmd.dll >libtc.def
dlltool --kill-at --dllname TakeCmd.dll --def ..\TakeCmd.def --output-lib TakeCmd.lib
gcc -o T.dll -shared -O2 -s T.c -I..\sdk -Wl,--add-stdcall-alias TakeCmd.lib
del TakeCmd.lib
rem gcc -o T.dll -shared -O2 -s T.c -I..\sdk ..\sdk\TakeCmd.lib 
rem plugin /L T
rem plugin /I T
